<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <!-- 
      插槽
     -->
    <cz>bug发生了</cz>
    <cz></cz>
  </div>
  <script src="../js/vue.js"></script>
  <script>
    const cz = {
      data() {
        return {}
      },
      "methods": {},
      "template": `
        <div>
          <strong>erroy:</strong>
          <slot>默认内容</slot>
        </div>`
    };
    const vm = new Vue({
      "el": "#app",
      "data": {},
      mounted() {},
      updated() {},
      "methods": {},
      "directives": {},
      "watch": {},
      "filters": {},
      "components": {
        cz
      }
    });
  </script>
</body>

</html>